Results 1 to 2 of 2

Thread: where can I find the include file "aspdb.inc"?

  1. #1
    WANG Guest

    where can I find the include file "aspdb.inc"?

    I am a newbie a asp and aspdb and I downloaded the eval version of aspdb-ep.I executed this source code contained in aspdb-free:
    <!-- #include File=../AspDB.Inc -->

    <%
    Set X=Server.CreateObject(&#34;AspDB.EP&#34
    X.dbUnit = 101
    X.dbDSN = &#34;NWIND&#34;
    X.dbGridTableTag = &#34;Border=3&#34;
    X.dbSQL = &#34;Select OrderID,OrderDate,Freight From Orders&#34;
    X.dbAggSQL=&#34;SELECT sum(Freight) FROM Orders&#34;
    X.dbUserLocalText= zAggName & &#34;,<B>Total Freight (all records)</B>&#34;
    X.dbAggNameTag=&#34;ColSPAN=2 align=right&#34;
    X.dbAggMagicCell = &#34;0,bgcolor=yellow,<B>#0#</B>;&#34;
    X.dbMode=&#34;grid&#34;
    X.ASPdbEP
    %>
    The result is:
    Active Server Pages error &#39;ASP 0126&#39;

    Include file not found

    /8.asp, line 2

    The include file &#39;../AspDB.Inc&#39; was not found.


    IDON&#39;T KNOW WHERE CAN I FIND FILE &#34;ASPDB.INC&#34;

    THANK YOU!


  2. #2
    Mark Guest

    where can I find the include file "aspdb.inc"? (reply)

    It is in the download. Just run the exe and it will extract into all the files you need. Why did you change the directory? Just use this:
    <!-- #include File=AspDB.Inc -->
    Mark.


    ------------
    WANG at 4/21/00 8:21:13 AM

    I am a newbie a asp and aspdb and I downloaded the eval version of aspdb-ep.I executed this source code contained in aspdb-free:
    <!-- #include File=../AspDB.Inc -->

    <%
    Set X=Server.CreateObject(&#34;AspDB.EP&#34
    X.dbUnit = 101
    X.dbDSN = &#34;NWIND&#34;
    X.dbGridTableTag = &#34;Border=3&#34;
    X.dbSQL = &#34;Select OrderID,OrderDate,Freight From Orders&#34;
    X.dbAggSQL=&#34;SELECT sum(Freight) FROM Orders&#34;
    X.dbUserLocalText= zAggName & &#34;,<B>Total Freight (all records)</B>&#34;
    X.dbAggNameTag=&#34;ColSPAN=2 align=right&#34;
    X.dbAggMagicCell = &#34;0,bgcolor=yellow,<B>#0#</B>;&#34;
    X.dbMode=&#34;grid&#34;
    X.ASPdbEP
    %>
    The result is:
    Active Server Pages error &#39;ASP 0126&#39;

    Include file not found

    /8.asp, line 2

    The include file &#39;../AspDB.Inc&#39; was not found.


    IDON&#39;T KNOW WHERE CAN I FIND FILE &#34;ASPDB.INC&#34;

    THANK YOU!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •